﻿using System.ComponentModel.DataAnnotations;

namespace JNPF.Basics.Models.System.Dtos.MessageNoticeOutput
{
    public class MessageCrInput
    {

        /// <summary>
        /// 标题
        /// </summary>
        [Required(ErrorMessage = "标题不能为空")]
        public string title { get; set; }
        /// <summary>
        /// 正文内容	
        /// </summary>
        [Required(ErrorMessage = "正文内容不能为空")]
        public string bodyText { get; set; }

    }
}
